<?php 
function share_link_attr($name){
	$image_path = PLUGIN_URL.'share/images/';
	echo 'onclick="javascript:share_post_to_'.$name.'()" style="background:transparent url('.$image_path.$name.'.png) no-repeat scroll 2px 0;float:none;color:white;" ';
}
?>
<div id="share_to_platform" style="display:inline;">
<a href="javascript:;">分享</a> | 
<ul id="share_to_platform_menu" style="position:absolute;display:none;">
	<li><a href="javascript:;" <?php share_link_attr('sina');?>>新浪微博</a></li>
	<li><a href="javascript:;" <?php share_link_attr('tencent')?>>腾讯微博</a></li>
	<li><a href="javascript:;" <?php share_link_attr('netease')?>>网易微博</a></li>
	<li><a href="javascript:;" <?php share_link_attr('renren')?>>人人网</a></li>
	<li><a href="javascript:;" <?php share_link_attr('kaixin001')?>>开心网</a></li>
	<li><a href="javascript:;" <?php share_link_attr('douban')?>>豆瓣</a></li>
	<li><a href="javascript:;" <?php share_link_attr('qzone')?>>QQ空间</a></li>
</ul>
</div>